<html>
	<head>
		<meta charset="utf-8">
		<title>
			保护小羊
		</title>
		<meta name="keywords" content="保护小羊游戏">
		<meta name="description" content="保护小羊">
		<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no,target-densitydpi=device-dpi">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="full-screen" content="true">
		<meta name="screen-orientation" content="portrait">
		<meta name="x5-fullscreen" content="true">
		<meta name="360-fullscreen" content="true">
		<style>
			body{text-align:center;background:#000;padding:0;border:0;margin:0;height:100%}html{-ms-touch-action:none;overflow:hidden}div,canvas{display:block;margin:0
			auto;padding:0;border:0}
		</style>
	</head>
	<body style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial; margin: 0px;">
		<div style="position: relative; width: 480px; height: 740px; top: 0px;"
		id="gameDiv">
			<canvas id="egretCanvas" width="480" height="740" style="width: 480px; height: 740px;"></canvas>
		</div>
		<script>
			var document_class = "Main";
		</script>
		<script src="js/egret_require.js"></script>
		<script src="js/egret_loader.js"></script>
		<script src="js/sound.js"></script>
		<script src="js/game-min.js"></script>
		<script>
			var support = [].map && document.createElement("canvas").getContext;
			if (support) {
				egret_h5.startGame()
			} else {
				alert("不支持您当前的浏览器")
			}
		</script>
		<script language="javascript">
			
			window.shareData = {
				"imgUrl": "",
				"timeLineLink": "",
				"tTitle": "保护小羊，脱离灰太狼的饿口",
				"tContent": "拖动小羊到围栏中，如果被小羊跑到屏幕外边会被灰太狼吃掉哦！"
			};
			function showshare() {
				document.getElementById("share").style.display = ""
			};
			function clickMore() {
				alert("clickMore");
				//window.location = "http://www.bootstrapMB.com"
			};
			var imgUrl = window.shareData.imgUrl;
			var lineLink = window.shareData.timeLineLink;
			var descContent = window.shareData.tContent;
			var shareTitle = window.shareData.tTitle;
			//function shareFriend() {
				//WeixinJSBridge.invoke('sendAppMessage', {
				//	"img_url": imgUrl,
				////	"img_width": "200",
				//	"img_height": "200",
				//	"link": lineLink,
				//	"desc": descContent,
				//	"title": shareTitle
				//},
				//function(res) { //_report('send_msg',res.err_msg)})}function shareTimeline(){WeixinJSBridge.invoke('shareTimeline',{"img_url":imgUrl,"img_width":"200","img_height":"200","link":lineLink,"desc":shareTitle,"title":descContent},function(res){//_report('timeline',res.err_msg)})}function shareWeibo(){WeixinJSBridge.invoke('shareWeibo',{"content":descContent,"url":lineLink,},function(res){//_report('weibo',res.err_msg)})}// 当微信内置浏览器完成内部初始化后会触发WeixinJSBridgeReady事件。 document.addEventListener('WeixinJSBridgeReady',function onBridgeReady(){// 发送给好友 WeixinJSBridge.on('menu:share:appmessage',function(argv){shareFriend()});// 分享到朋友圈 WeixinJSBridge.on('menu:share:timeline',function(argv){shareTimeline()});// 分享到微博 WeixinJSBridge.on('menu:share:weibo',function(argv){shareWeibo()})},false);function dp_share(a,b){};
					
		</script>
		<div id="share" style="display: none">
			<img width="100%" src="../share.png" style="position: fixed; z-index: 5; top: 0; left: 0; display: "
			ontouchstart="document.getElementById('share').style.display='none';" onclick="document.getElementById('share').style.display='none';">
		</div>
		﻿
		<div style="display:none;"></div>
	</body>

</html>